package com.mingtu.guards.bean;

import java.util.List;

/**
 * @ClassName :
 * @Author : wkk
 * @Date : 2020/9/1 14:56:09
 * @Email : 1281573890@qq.com
 * @Eescription :
 */
public class MenuDeviceBean {

    /**
     * msg : success
     * code : 0
     * data : {"currentWeekNum":0,"onlineNum":0,"offlineNum":6,"onlineList":[],"offlineList":[{"userId":3,"name":"刘子明","lng":"115.41321587456598","lat":"32.482456597222225","updateTime":"2020-08-31 10:54:55"},{"userId":2,"name":"李磊","lng":"113.685823","lat":"34.721236","updateTime":"2020-08-30 22:36:44"},{"userId":8,"name":"吴康康","lng":"113.685823","lat":"34.721241","updateTime":"2020-08-23 15:31:31"},{"userId":4,"name":"梅亮亮","lng":"113.70784288194444","lat":"34.73747748480903","updateTime":"2020-08-21 10:48:46"},{"userId":7,"name":"周书强","lng":"113.66019124348958","lat":"34.813176812065976","updateTime":"2020-07-04 11:43:10"},{"userId":9,"name":"云龙","lng":null,"lat":null,"updateTime":null}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * currentWeekNum : 0
         * onlineNum : 0
         * offlineNum : 6
         * onlineList : []
         * offlineList : [{"userId":3,"name":"刘子明","lng":"115.41321587456598","lat":"32.482456597222225","updateTime":"2020-08-31 10:54:55"},{"userId":2,"name":"李磊","lng":"113.685823","lat":"34.721236","updateTime":"2020-08-30 22:36:44"},{"userId":8,"name":"吴康康","lng":"113.685823","lat":"34.721241","updateTime":"2020-08-23 15:31:31"},{"userId":4,"name":"梅亮亮","lng":"113.70784288194444","lat":"34.73747748480903","updateTime":"2020-08-21 10:48:46"},{"userId":7,"name":"周书强","lng":"113.66019124348958","lat":"34.813176812065976","updateTime":"2020-07-04 11:43:10"},{"userId":9,"name":"云龙","lng":null,"lat":null,"updateTime":null}]
         */

        private int currentWeekNum;
        private int onlineNum;
        private int offlineNum;
        private List<OnlineListBean> onlineList;
        private List<OfflineListBean> offlineList;

        public int getCurrentWeekNum() {
            return currentWeekNum;
        }

        public void setCurrentWeekNum(int currentWeekNum) {
            this.currentWeekNum = currentWeekNum;
        }

        public int getOnlineNum() {
            return onlineNum;
        }

        public void setOnlineNum(int onlineNum) {
            this.onlineNum = onlineNum;
        }

        public int getOfflineNum() {
            return offlineNum;
        }

        public void setOfflineNum(int offlineNum) {
            this.offlineNum = offlineNum;
        }

        public List<OnlineListBean> getOnlineList() {
            return onlineList;
        }

        public void setOnlineList(List<OnlineListBean> onlineList) {
            this.onlineList = onlineList;
        }

        public List<OfflineListBean> getOfflineList() {
            return offlineList;
        }

        public void setOfflineList(List<OfflineListBean> offlineList) {
            this.offlineList = offlineList;
        }

        public static class OnlineListBean {
            /**
             * userId : 3
             * name : 刘子明
             * lng : 115.41321587456598
             * lat : 32.482456597222225
             * updateTime : 2020-08-31 10:54:55
             */

            private int userId;
            private String name;
            private String lng;
            private String lat;
            private String updateTime;

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLng() {
                return lng;
            }

            public void setLng(String lng) {
                this.lng = lng;
            }

            public String getLat() {
                return lat;
            }

            public void setLat(String lat) {
                this.lat = lat;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }

        public static class OfflineListBean {
            /**
             * userId : 3
             * name : 刘子明
             * lng : 115.41321587456598
             * lat : 32.482456597222225
             * updateTime : 2020-08-31 10:54:55
             */

            private int userId;
            private String name;
            private String lng;
            private String lat;
            private String updateTime;

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLng() {
                return lng;
            }

            public void setLng(String lng) {
                this.lng = lng;
            }

            public String getLat() {
                return lat;
            }

            public void setLat(String lat) {
                this.lat = lat;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }
    }
}
